package org.jeecg.modules.oms.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * 新格尔窗型确认文件-配件表
 */
@Data
@TableName(" oms_xge_accessories_table")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="新格尔窗型确认文件-配件表", description="新格尔窗型确认文件-配件表")
public class XgeAccessoriesTable implements Serializable {
    
    private static final long serialVersionUID = 1L;
    
    /**
     * ID
     */
    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "ID")
    private String id;
    
    /**
     * 明细ID
     */
    @ApiModelProperty(value = "明细ID")
    private String detailId;
    
    /**
     * 租户ID
     */
    @ApiModelProperty(value = "租户ID")
    private Integer tenantId;
    
    /**
     * 序号
     */
    @Excel(name = "序号", width = 15)
    @ApiModelProperty(value = "序号")
    private Integer serialNo;
    
    /**
     * 窗号
     */
    @Excel(name = "窗号", width = 15)
    @ApiModelProperty(value = "窗号")
    private String windowNo;
    
    /**
     * 配件编号
     */
    @Excel(name = "配件编号", width = 15)
    @ApiModelProperty(value = "配件编号")
    private String accessoryCode;
    
    /**
     * 配件名称
     */
    @Excel(name = "配件名称", width = 15)
    @ApiModelProperty(value = "配件名称")
    private String accessoryName;
    
    /**
     * 规格
     */
    @Excel(name = "规格", width = 15)
    @ApiModelProperty(value = "规格")
    private String specification;
    
    /**
     * 颜色
     */
    @Excel(name = "颜色", width = 15)
    @ApiModelProperty(value = "颜色")
    private String color;
    
    /**
     * 长度/数量
     */
    @Excel(name = "长度/数量", width = 15)
    @ApiModelProperty(value = "长度/数量")
    private String lengthQuantity;
    
    /**
     * 数量
     */
    @Excel(name = "数量", width = 15)
    @ApiModelProperty(value = "数量")
    private Integer quantity;
    
    /**
     * 单位
     */
    @Excel(name = "单位", width = 15)
    @ApiModelProperty(value = "单位")
    private String unit;
    
    /**
     * 品牌
     */
    @Excel(name = "品牌", width = 15)
    @ApiModelProperty(value = "品牌")
    private String brand;
    
    /**
     * 部分索引
     */
    @Excel(name = "部分索引", width = 15)
    @ApiModelProperty(value = "部分索引")
    private Integer partIndex;
    
    /**
     * 创建时间
     */
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
    
    /**
     * 更新时间
     */
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;
} 